﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Windows.Forms;

namespace Scheduler
{
    [Serializable]
    public class SavedSchedule
    {

        #region Data
        private List<TreeNode> m_Courses;
        private List<Constraint> m_ConstraintsList;
        private int m_CurrentSchedule;
        #endregion

        public SavedSchedule(List<TreeNode> _NodesOfCourses, List<Constraint> _ConstraintsList, int _CurrentSchedule)
        {
            this.m_Courses = _NodesOfCourses;
            this.m_ConstraintsList = _ConstraintsList;
            this.m_CurrentSchedule = _CurrentSchedule;
        }

        #region Accessors
        public List<TreeNode> Courses
        {
            get { return this.m_Courses; }
        }

        public List<Constraint> Constraints
        {
            get { return this.m_ConstraintsList; }
        }

        public int Current
        {
            get { return this.m_CurrentSchedule;}
        }
        #endregion


    }
}
